/*
 * Linear.h
 *
 *  Created on: 2009/02/04
 *      Author: Yongshik Cho
 */

#ifndef LINEAR_H_
#define LINEAR_H_

class Linear
{
public:
	inline static void easeIn(const float t, const float b, const float c, const float d, float& r)
	{
		r = b + c * t / d;
	}
	inline static void easeOut(const float t, const float b, const float c, const float d, float& r)
	{
		r = b + c * t / d;
	}
	inline static void easeInOut(const float t, const float b, const float c, const float d, float& r)
	{
		r = b + c * t / d;
	}
};

#endif /* LINEAR_H_ */
